package io.jee.caisan.weixin.controller.admin;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/admin")
public class AdminIndexController {

	@GetMapping("/login")
	public String login(Model model) {
		return "admin/login";
	}
	
	@GetMapping({"", "/", "/index"})
	public String index(Model model) {
		return "admin/index";
	}
}
